﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="site-list">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="1" name="created-by">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="tool" type="xs:string" />
              <xs:element name="version" type="xs:string" />
              <xs:element name="date-created" type="xs:string" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element maxOccurs="unbounded" name="site">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="compat-mode" type="xs:string" />
              <xs:element name="open-in" type="xs:string" />
            </xs:sequence>
            <xs:attribute name="url" type="xs:string" use="required" />
            <xs:attribute name="comment" type="xs:string" use="optional" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="version" type="xs:unsignedByte" use="required" />
    </xs:complexType>
  </xs:element>
</xs:schema>